package com.gupaoedu.pattern.decoratorandobserver.demo.observer;

public class Question {

    private String userName;

    private String content;

    public Question(String userName, String content) {
        this.userName = userName;
        this.content = content;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getUserName() {
        return this.userName;
    }

    public String getContent() {
        return this.content;
    }

    @Override
    public String toString() {
        return "Question [userName=" + userName + ", content=" + content + "]";
    }
}
